﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Windows.Input;
using WebFlipScreenSaver.View;

namespace WebFlipScreenSaver.Model
{
	public class ScreenSaverViewModel : NotifyPropertyChangedBase
	{
		private ObservableCollection<WebPageView> _webPages = new ObservableCollection<WebPageView>();

		public ObservableCollection<WebPageView> WebPages
		{
			get { return _webPages; }
			set
			{
				_webPages = value;
				Changed(() => WebPages);
			}
		}

		private WebPageView _nextWebPage;

		public WebPageView NextWebPage
		{
			get { return _nextWebPage; }
			set
			{
				_nextWebPage = value;
				Changed(() => NextWebPage);
			}
		}

		private WebPageView _currentWebPage;

		public WebPageView CurrentWebPage
		{
			get { return _currentWebPage; }
			set
			{
				_currentWebPage = value;
				Changed(() => CurrentWebPage);
			}
		}


	}
}
